package cn.oldsix.spark.utils;/*
 * @Author : Wu.D.J
 * @Create : 2018.09.14
 **/

public class ReplaceTest {

    public static void main(String[] args) {
        String a = "{\\x22beginTime\\x22:1536891261566,\\x22data\\x22:[{\\x22activeTime\\x22:\\x22300000\\x22,\\x22packageName\\x22:\\x22com.youku.phone\\x22},{\\x22activeTime\\x22:\\x22300000\\x22,\\x22packageName\\x22:\\x22com.ss.android.article.news\\x22}],\\x22day\\x22:\\x222018-09-14\\x22,\\x22endTime\\x22:1536891273566,\\x22userId\\x22:9000000}";
//        String s = a.replaceAll("\\x22", "\"");
        System.out.println(a.replaceAll("\\\\x22", "\""));
    }
}
